package com.budwk.app.enterprise.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;

/**
 * 损益、人工成本及增值税
 */

@Data
@Accessors(chain = true)
@Table("dfxy_enterprise.zb_profit_tax_labor")
@Comment("损益、人工成本及增值税")
@ApiModel(description = "损益、人工成本及增值税")
public class ProfitTaxLabor extends BaseCommonModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Column
    @Name
    @Comment("ID")
    @ApiModelProperty(description = "ID")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(els = {@EL("snowflake()")}, nullEffective = true)
    private String id;

    @Column("operating_revenue")
    @Comment("营业收入")
    @ApiModelProperty(description = "营业收入")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String operatingRevenue;

    @Column("operating_costs")
    @Comment("营业成本")
    @ApiModelProperty(description = "营业成本")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String operatingCosts;

    @Column("taxes_surcharges")
    @Comment("税金及附加")
    @ApiModelProperty(description = "税金及附加")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String taxesSurcharges;

    @Column("other_income")
    @Comment("其他收益")
    @ApiModelProperty(description = "其他收益")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String otherIncome;

    @Column("investment_income")
    @Comment("投资收益")
    @ApiModelProperty(description = "投资收益")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String investmentIncome;

    @Column("operating_profit")
    @Comment("营业利润")
    @ApiModelProperty(description = "营业利润")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String operatingProfit;

    @Column("profit_total")
    @Comment("利润总额")
    @ApiModelProperty(description = "利润总额")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String profitTotal;

    @Column("payroll_payable")
    @Comment("应付职工薪酬（本年贷方累计发生额）")
    @ApiModelProperty(description = "应付职工薪酬（本年贷方累计发生额）")
    @ColDefine(type = ColType.VARCHAR, width = 50)
    private String payrollPayable;

    @Column("added_tax")
    @Comment("应交增值税（本年累计发生额）")
    @ApiModelProperty(description = "应交增值税（本年累计发生额）")
    @ColDefine(type = ColType.VARCHAR, width = 300)
    private String addedTax;
}















